#include "Drawable.h"


CDrawable::CDrawable(int x, int y, CIw2DImage* img) {
	this->x = x;
	this->y = y;
	image = img;
}


CDrawable::~CDrawable(void) {
}

void CDrawable::Update(unsigned int deltaTime) {

	
}
void CDrawable::Render() {
	Iw2DSetColour(0xffffffff);//white
	Iw2DSetAlphaMode(IW_2D_ALPHA_NONE);
	Iw2DDrawImage(image,CIwSVec2(x-image->GetWidth()/2,y-image->GetHeight()/2));
}
